import java.io.*;
import java.util.Scanner;

public class Reader {

	public Scanner kbd;

	public void openFile(){
		try{
			kbd = new Scanner(new File("asd.dat"));
		} catch(Exception e){
			System.out.println("Could not find the .dat file.");
		}
	}

	public void readFile(){
		while(kbd.hasNext()){
			String a = kbd.next();
			String b = kbd.next();
			String c = kbd.next();
			String d = kbd.next();
			String e = kbd.next();
			String f = kbd.next();		

			System.out.printf("%s %s %s %s %s %s", a,b,c,d,e,f);
		}
	}

	public void closeFile(){
		kbd.close();
	}

}